.main-wrapper {
  max-width: 640px;
  margin: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  background: #f5f5f9;
  min-height: 800px;
}
.banner {
  width: 100%;
}
.banner img {
  max-width: 100%;
}
.search_box {
  width: 100%;
  height: 50px;
  border: 1px solid transparent;
}
.search_box .input_box {
  height: 30px;
  margin: 5px 16px 10px;
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fff url("../images_v2/v2_ser_txt.png") center no-repeat;
  background-size: 50px;
}
.search_box .input_box > input {
  width: 90%;
  height: 25px;
  margin: 1px 0 0 3%;
  outline: none;
  border: 0;
  font-size: 14px;
  background: transparent;
}
.search_box .input_box > input:focus {
  background: #fff;
}
.coupon_box {
  height: 85px;
  background: transparent;
}
.coupon_box .coupon {
  height: 75px;
  background: #fff;
}
.ad_box {
  height: 100px;
  background: transparent;
}
.ad_box .ad {
  position: relative;
  height: 90px;
  overflow: hidden;
  background: #fff;
}
.shop_box {
  height: 60px;
  background: transparent;
}
.shop_box .shop {
  height: 50px;
  background: #fff;
  font-size: 15px;
  color: #555;
}
.shop_box .shop > a {
  display: inline-block;
  width: 93%;
  height: 100%;
  padding: 8px 3% 0 4%;
}
.shop_box .shop > a .col_lt {
  float: left;
}
.shop_box .shop > a .col_rt {
  float: right;
}
.shop_box .shop > a img {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-right: 6px;
}
.edit_box {
  padding-bottom: 10px;
  background: transparent;
}
.edit_box .edit_hd {
  height: 50px;
  background: #fff;
  font-size: 15px;
  color: #555;
  border-bottom: 1px solid #eee;
}
.edit_box .edit_hd > a {
  display: inline-block;
  width: 93%;
  height: 100%;
  padding: 8px 3% 0 4%;
}
.edit_box .edit_hd > a .col_lt {
  float: left;
}
.edit_box .edit_hd > a .col_rt {
  float: right;
}
.edit_box .edit_hd > a img {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-right: 6px;
}
.edit_box .edit_bd {
  background: #fff;
}
.edit_box .edit_bd > li {
  float: left;
  border-bottom: 1px solid #eee ;
}
.edit_box .edit_bd > li .img_box {
  width: 100%;
  padding: 14.4% 17.8% 1.6%;
}
.edit_box .edit_bd > li .img_box > img {
  max-width: 100%;
}
.edit_box .edit_bd > li .title_box {
  width: 100%;
  padding: 2% 8.5%;
}
.edit_box .edit_bd > li .title_box > p {
  height: 38px;
  overflow: hidden;
  font-size: 14px;
}
.edit_box .edit_bd > li .price_box {
  width: 100%;
  padding: 2% 8.5%;
}
.edit_box .edit_bd > li .price_box > li {
  height: 30px;
}
.edit_box .edit_bd > li .price_box .p_lt {
  float: left;
  width: 60%;
}
.edit_box .edit_bd > li .price_box .p_lt > span {
  color: #ffa403;
}
.edit_box .edit_bd > li .price_box .p_lt .mark {
  font-size: 11px;
}
.edit_box .edit_bd > li .price_box .p_lt .p {
  font-size: 18px;
}
.edit_box .edit_bd > li .price_box .p_rt {
  float: right;
  width: 40%;
  text-align: right;
}
.edit_box .edit_bd > li .price_box .p_rt .p_count {
  display: inline-block;
  font-size: 11px;
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  white-space: nowrap;
}
.edit_box .edit_bd .col2_lt {
  height: 100%;
  width: 50%;
  border-right: 1px solid transparent;
}
.edit_box .edit_bd .col2_rt {
  height: 100%;
  width: 50%;
  border-left: 1px solid #eee;
}
.edit_box .edit_bd2 {
  background: #fff;
}
.edit_box .edit_bd2 > li {
  float: left;
  border-bottom: 1px solid #eee ;
}
.edit_box .edit_bd2 > li .img_box {
  width: 100%;
  padding: 14.4% 17.8% 1.6%;
}
.edit_box .edit_bd2 > li .img_box > img {
  max-width: 100%;
}
.edit_box .edit_bd2 > li .title_box {
  width: 100%;
  padding: 2% 8.5%;
}
.edit_box .edit_bd2 > li .title_box > p {
  height: 38px;
  overflow: hidden;
  font-size: 14px;
}
.edit_box .edit_bd2 > li .price_box {
  width: 100%;
  padding: 2% 8.5%;
}
.edit_box .edit_bd2 > li .price_box > li {
  height: 30px;
}
.edit_box .edit_bd2 > li .price_box .p_lt {
  float: left;
  width: 90%;
}
.edit_box .edit_bd2 > li .price_box .p_lt > span {
  color: #ffa403;
}
.edit_box .edit_bd2 > li .price_box .p_lt .mark {
  font-size: 11px;
}
.edit_box .edit_bd2 > li .price_box .p_lt .p {
  font-size: 16px;
}
.edit_box .edit_bd2 .col_lt {
  height: 100%;
  width: 33.3%;
  border-right: 1px solid transparent;
}
.edit_box .edit_bd2 .col_md {
  height: 100%;
  width: 33.3%;
  border-left: 1px solid #eee;
}
.edit_box .edit_bd2 .col_rt {
  height: 100%;
  width: 33.3%;
  border-left: 1px solid #eee;
}
.edit_box .edit_bd3 {
  background: #fff;
  border-bottom: 1px solid #eee ;
}
.edit_box .edit_bd3 > li {
  float: left;
  box-sizing: border-box;
}
.edit_box .edit_bd3 .col_lt {
  height: 100%;
  width: 50%;
  border-right: 1px solid #eee;
}
.edit_box .edit_bd3 .col_lt .product_info {
  height: 64px;
  padding: 0 25px 0 15px;
}
.edit_box .edit_bd3 .col_lt .product_info .left {
  float: left;
  width: 70%;
  height: 100%;
  padding: 13px 0 8px 0;
}
.edit_box .edit_bd3 .col_lt .product_info .left > p {
  padding-left: 3%;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  white-space: nowrap;
}
.edit_box .edit_bd3 .col_lt .product_info .left .name {
  color: #555;
  font-size: 15px;
}
.edit_box .edit_bd3 .col_lt .product_info .left .ad {
  color: #ffa403;
  font-size: 13px;
}
.edit_box .edit_bd3 .col_lt .product_info .right {
  float: right;
  width: 30%;
  padding-top: 11px;
}
.edit_box .edit_bd3 .col_lt .product_info .right > div {
  width: 43px;
  height: 43px;
  padding: 7px 0 0 2px;
  border: 1px solid #ffa403;
  border-radius: 50%;
  background: #ffa403;
  color: #fff;
}
.edit_box .edit_bd3 .col_lt .product_info .right > div .count {
  font-size: 18px;
}
.edit_box .edit_bd3 .col_lt .product_info .right > div .money {
  font-size: 9px;
}
.edit_box .edit_bd3 .col_lt .product_pic {
  padding: 0 8% 15% 8%;
}
.edit_box .edit_bd3 .col_lt .product_pic > img {
  width: 100%;
}
.edit_box .edit_bd3 .col_rt {
  height: 100%;
  width: 50%;
}
.edit_box .edit_bd3 .col_rt > a .p_list {
  width: 100%;
  box-sizing: border-box;
}
.edit_box .edit_bd3 .col_rt > a .p_list > li {
  float: left;
}
.edit_box .edit_bd3 .col_rt > a .p_list .lt {
  width: 64%;
  padding: 0 6.6% 0 4.1%;
}
.edit_box .edit_bd3 .col_rt > a .p_list .lt > img {
  width: 100%;
  margin: 12% 0 15% 0;
}
.edit_box .edit_bd3 .col_rt > a .p_list .rt {
  width: 36%;
  padding: 20% 3% 5% 0;
}
.edit_box .edit_bd3 .col_rt > a .p_list .rt > p {
  padding-left: 3%;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  white-space: nowrap;
}
.edit_box .edit_bd3 .col_rt > a .p_list .rt .name {
  color: #555;
  font-size: 15px;
}
.edit_box .edit_bd3 .col_rt > a .p_list .rt .b_box {
  width: 43px;
  height: 22px;
  margin-top: 7%;
  line-height: 22px;
  text-align: center;
  background: url("../images_v2/v2_ibg1.png") center no-repeat;
  background-size: 44px;
  font-size: 15px;
  color: #fff;
}
.edit_box .edit_bd3 .col_rt > a .b_btm {
  border-bottom: 1px solid #eee;
}
.we_box {
  height: 90px;
  padding: 0 30%;
  margin-bottom: 60px;
  background: transparent;
  text-align: center;
}
.we_box .we_link {
  height: 40%;
  font-size: 15px;
  border-bottom: 1px dashed #ddd;
}
.we_box .we_link a {
  display: inline-block;
  width: 100%;
  height: 80%;
  padding-top: 5%;
  color: #0090dd;
}
.we_box .we_bom {
  height: 59.5%;
  padding-top: 4%;
}
.we_box .we_bom > img {
  width: 60px;
}
.we_box .we_bom > p {
  font-size: 10px;
  color: #999;
}
.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50px;
  border-top: 1px solid #eee;
  background: #fff;
  z-index: 100;
}
.footer > li {
  float: left;
  width: 25%;
  height: 100%;
  text-align: center;
}
.footer > li > a {
  display: inline-block;
  width: 100%;
  height: 100%;
}
.footer > li > a > p {
  color: #666;
  font-size: 10px;
}
.footer > li > a > span {
  display: inline-block;
  width: 30px;
  height: 27px;
}
.footer > li > a .index {
  background: url("../images_v2/v2_icon.png") 2px 0 no-repeat;
  background-size: auto 33px;
}
.footer > li > a .index_checked {
  background: url("../images_v2/v2_icon_checked.png") 2px 0 no-repeat;
  background-size: auto 33px;
}
.footer > li > a .classify {
  background: url("../images_v2/v2_icon.png") -86px 0 no-repeat;
  background-size: auto 33px;
}
.footer > li > a .classify_checked {
  background: url("../images_v2/v2_icon_checked.png") -86px 0 no-repeat;
  background-size: auto 33px;
}
.footer > li > a .shop_car {
  background: url("../images_v2/v2_icon.png") -176px 0 no-repeat;
  background-size: auto 33px;
}
.footer > li > a .shop_car_checked {
  background: url("../images_v2/v2_icon_checked.png") -176px 0 no-repeat;
  background-size: auto 33px;
}
.footer > li > a .home {
  background: url("../images_v2/v2_icon.png") -265px 0 no-repeat;
  background-size: auto 33px;
}
.footer > li > a .home_checked {
  background: url("../images_v2/v2_icon_checked.png") -265px 0 no-repeat;
  background-size: auto 33px;
}
.ad_box .ad .swiper-slide {
  height: 90px;
}
.ad_box .ad .swiper-slide img {
  height: 90px;
  width: 100%;
}
.ad_box .ad .swiper-pagination-bullet-active {
  background: #3398ee;
}
.ad_box .ad .swiper-pagination-bullet {
  background: #3398ee;
}
.ad_box .ad .swiper-container-horizontal > .swiper-pagination-bullets,
.ad_box .ad .swiper-pagination-custom,
.ad_box .ad .swiper-pagination-fraction {
  bottom: 10px;
}
@media (device-height: 480px) and (-webkit-min-device-pixel-ratio: 2) {
  .ad_box .ad {
    /* 兼容iphone4/4s */
  }
  .ad_box .ad .swiper-slide img {
    width: 320px;
    height: 90px;
  }
  .ad_box .ad .banner-head {
    height: 90px;
  }
  .ad_box .ad .swiper-container-horizontal > .swiper-pagination-bullets,
  .ad_box .ad .swiper-pagination-custom,
  .ad_box .ad .swiper-pagination-fraction {
    bottom: 10px;
  }
  .ad_box .ad .item-btn li img {
    width: 45px;
  }
}
@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) {
  .ad_box .ad {
    /* 兼容iphone5 */
  }
  .ad_box .ad .swiper-slide img {
    width: 320px;
    height: 90px;
  }
  .ad_box .ad .banner-head {
    height: 90px;
  }
  .ad_box .ad .swiper-container-horizontal > .swiper-pagination-bullets,
  .ad_box .ad .swiper-pagination-custom,
  .ad_box .ad .swiper-pagination-fraction {
    bottom: 10px;
  }
  .ad_box .ad .item-btn li img {
    width: 45px;
  }
}
